//
//  GoogleMapXmlDataParser.h
//  FleaFinder
//
//  Created by Hieu Le on 4/13/13.
//  Copyright (c) 2013 Kiwiweb. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    ADD_TAG_LOCATION = 0,
    ADD_TAG_LAT = 1,
    ADD_TAG_LNG = 2
} GoogleMapTag;

@interface GoogleMapXmlDataParser : NSObject<NSXMLParserDelegate>{
    double lat;
    double lng;
    
    NSString *tagLocaltion;
    NSString *tagLat;
    NSString *tagLng;
    
    NSInteger currentTag;
    
    BOOL isInsideTagLocation;
}

@property double lat;
@property double lng;

-(void) parseXML: (NSString*) sourceUrl;

@end
